﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="printCaixaRelatorio.aspx.cs" Inherits="WebMotel.print.printCaixaRelatorio" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="float:left; width:100%; height:auto; font-family:Arial;">
            <div style="float:left; width:100%; height:auto; font-size:20px; font-weight:bold;  letter-spacing:2px; border-bottom:1px solid #000000; padding:0px 0px 0px 0px;">
                <div style="float:left; width:70%; height:auto;">
                    RELATÓRIO DO MOVIMENTO DE CAIXA
                </div>
                <div style="float:left; width:30%; height:auto; text-align:right; font-size:10px; font-weight:normal;">
                    Retatório gerado em 04/01/2014 às 20:02
                </div>
            </div>
            <div style="float:left; width:100%; height:auto; font-size:22px; font-weight:normal;  border-bottom:1px dashed #000000; padding:0px 0px 5px 0px;">
              
                <div style="float:left; width:100%; height:auto; font-size:14px; font-weight:normal;  border-bottom:0px dashed #000000; padding:5px 0px 0px 0px;">
                      <span style="font-weight:bold;">Parâmetros</span>
                </div>
                <div style="float:left; width:100%; height:auto; font-size:12px; font-weight:normal;  border-bottom:0px dashed #000000; padding:0px 0px 0px 0px;">
                    <table>
                        <tr>
                            <td style="width:10%;">Caixa Nº:  <asp:Label ID="lblCaixID" runat="server" Text=""></asp:Label></td>
                            <td style="width:10%;">Dt. Inicial: <asp:Label ID="lblDtInicial" runat="server" Text=""></asp:Label></td>
                            <td style="width:10%;">Dt. Final: <asp:Label ID="lblDtFinal" runat="server" Text=""></asp:Label></td>
                            <td style="width:15%;">Forma Pagamento: <asp:Label ID="lblFormaPagamento" runat="server" Text=""></asp:Label></td>
                            <td style="width:10%;">Usuário: <asp:Label ID="lblUsuario" runat="server" Text=""></asp:Label></td>
                        </tr>
                    </table>
                </div>
            </div>

            <div style="float:left; width:100%; height:auto; font-size:12px; font-weight:normal;  border-top:1px solid #000000; padding:5px 0px 0px 0px; margin:2px 0px 0px 0px;">
                <table style="width:100%;">
                    <asp:Repeater ID="rptListagem" runat="server">
                        <HeaderTemplate>
                            <tr style="width:100%;">
                                <td style="width:3%;">ID</td>
                                <td style="width:5%;">Caixa Nº</td>
                                <td style="width:5%;">Comanda Nº</td>
                                <td style="width:15%;">Data e Hora</td>
                                <td style="width:15%;">Forma Pagamento</td>
                                <td style="width:13%;">Entrada</td>
                                <td style="width:13%;">Saldo</td>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr style="width:100%;">
                                <td style="width:3%;"><%# Eval("id")%></td>
                                <td style="width:5%;"><%# Eval("caixaID")%></td>
                                <td style="width:5%;"><%# Eval("comandaID")%></td>
                                <td style="width:15%;"><%# Eval("dtHora")%></td>
                                <td style="width:15%;"><%# Eval("formaPagamento")%></td>
                                <td style="width:13%;"><%# Eval("vlrRecebido")%></td>
                                <td style="width:13%;"><%# Eval("vlrRecebidoAteAgora")%></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                  
                </table>
            </div>

        </div>
    </form>
</body>
</html>
